package com.zzj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzj.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zzj
 * @since 2023-05-12
 */
public interface UserMapper extends BaseMapper<User> {
    int updateAvatar(@Param("oldAvatar") String oldAvatar, @Param("newAvatar")String newAvatar);
    int updateUsername(@Param("oldUsername") String oldUsername,@Param("newUsername")String newUsername);
}
